﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Telerik.JustMock;
using DelonixRegiaHMSys.Core.Services;
using DelonixRegiaHMSys.Core.Interfaces;
using DelonixRegiaHMSys.Core.Models;

namespace DelonixRegiaHMSys.UnitTest.SystemAccountManagement
{
    [TestClass]
    public class DeleteUserRecord
    {
        [TestMethod]
        public void DeleteUser()
        {
            var mockSAQuery = Mock.Create<ISystemAccountQuery>();

            var saservice = new saServices(mockSAQuery);

            saservice.DeleteUser("");

            Mock.Assert(() => mockSAQuery.DeleteUser(Arg.IsAny<string>()));
        }
    }
}
